//
//  UrbanLogInTextFild.h
//  UrbanManagement
//
//  Created by Can on 18/4/8.
//  Copyright © 2018年 hwd. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    UrbanLogInTextFildPhoneType,
    UrbanLogInTextFildPassWordType,
    UrbanLogInTextFildMsgType,
} UrbanLogInTextFildType;

typedef void(^UrbanLogInTextFildBlock)(NSString *);

@interface UrbanLogInTextFild : UIView

@property (nonatomic, strong)UIButton *btn;//短信按钮
@property (nonatomic, copy) UrbanLogInTextFildBlock UrbanLogInTextFildblock;


/**
 创建类登录输入框
 
 @param frame 位置信息
 @param imageName 图片名
 @param placeholder 默认提示文字
 @param keyboardType 键盘类型
 @param maxNum 最大字数 ***>0***
 @param type 是否显示隐藏字符的按钮
 @return self
 */
- (instancetype)initWithFrame:(CGRect)frame imageName:(NSString *)imageName placeholder:(NSString *)placeholder keyboardType:(UIKeyboardType)keyboardType maxNum:(NSInteger)maxNum type:(UrbanLogInTextFildType)type;

@end
